package com.dongdongshop.service;

import com.dongdongshop.pojo.*;
import com.dongdongshop.pojo.vo.AddressVo;

import java.util.List;

public interface UserService {
    void register(TbUser user);

    TbUser getInfoToLogin(String username);

    List<AddressVo> addressInfo();

    List<TbProvinces> getShengInfo();

    List<TbCities> getCityInfo(String pid);

    List<TbAreas> getXianInfo(String pid);

    void insertAddressInfo(TbAddress address);

    void deleteInfo(Long id);

    void isDeafult(Long id);

    TbAddress getAddressInfoById(Long addressId);
}
